import {history, post, message, get} from '@/utils/utils'

const settleCard = {
  namespaced: true,
  state: {
    settleCardInfo: {}
  },

  mutations: {
    save(state, { field, payload }) {
      state[field] = { ...state[field], ...payload }
    }
  },

  actions: {
    // getSettledCardInfo({ commit }, {data}) {
    //   get({api: '',
    //     success: (data) => {
    //       commit('save', {field: 'settleCardInfo', payload: data})
    //     }})
    // }
  }
}

export default settleCard
